<?php $this->load->helper('form');
//Programer note:	ID attributes used for client-side operations. (ID follows modular '_camelCase' control naming convention).
//Name attribute is used for Posting/Data operations.	(Name follows field name from database convention) 
?>
<!DOCTYPE html>
<html>
	<head>
	<title>Patient Upload Form</title>
		<?php echo link_tag('css/ppharm_popup.css'.'?'.time());?> 
		<?php echo link_tag('css/custom-theme/jquery-ui-1.8.2.custom.css'.'?'.time());?>
		<script type="text/javascript" src="<?php echo base_url().('/js/jquery.min.js');?>"></script>
		<script type="text/javascript" src="<?php echo base_url().('/js/jquery-ui.min.js');?>"></script>

</head>
	
	<body>
	
	<?php echo $error;?>
	<h1>Select the Patient File to Upload:</h1>
	<?php echo form_open_multipart('upload/do_upload');?>
	
	<input type="file" name="userfile" size="40" /><br>
	<?php	echo form_checkbox('update_patients', 'checked', TRUE).'Update Existing Patients'; ?>
	
	<br /><br />
	
	<input type="submit" value="upload" />
	
	</form>
	
	</body>
</html>